﻿<Window x:Class="Historia.Formulaires.frmFil"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Fil" Height="189" Width="445" Background="WhiteSmoke" Icon="/Historia;component/Images/fil-icon.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <DockPanel Grid.Row="0" LastChildFill="True" >
            <GroupBox Header="Information" DockPanel.Dock="Left" Width="Auto">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto"></ColumnDefinition>
                        <ColumnDefinition Width="*" MinWidth="300"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="auto"></RowDefinition>
                        <RowDefinition Height="auto"></RowDefinition>
                        <RowDefinition Height="auto"></RowDefinition>
                        <RowDefinition Height="*"></RowDefinition>
                    </Grid.RowDefinitions>
                    <Label Grid.Column="0" Grid.Row="0">Nom</Label>
                    <TextBox Name="txtNom" Grid.Column="1" Grid.Row="0" MaxLength="100"></TextBox>
                    <Label Grid.Column="0" Grid.Row="1">Abréviation</Label>
                    <TextBox Name="txtAbreviation" Grid.Column="1" Grid.Row="1" MaxLength="4" HorizontalAlignment="Left" Width="50" CharacterCasing="Upper"></TextBox>
                    <Label Grid.Column="0" Grid.Row="2" Visibility="Hidden">Couleur</Label>
                    <TextBox Name="txtCouleur" Grid.Column="1" Grid.Row="2" MaxLength="6" HorizontalAlignment="Left" Width="75" CharacterCasing="Upper" Visibility="Hidden"></TextBox>
                    
                </Grid>
            </GroupBox>
        </DockPanel>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Margin="5">
            <Button Name="btnOK" MinWidth="75" Click="btnOK_Click">OK</Button>
            <Button Name="btnAnnuler" MinWidth="75" Click="btnAnnuler_Click">Annuler</Button>
        </StackPanel>
    </Grid>
</Window>
